package com.kaishu.misp.service.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.kaishu.misp.dao.HibernateDao;
import com.kaishu.misp.dao.ProductDao;
import com.kaishu.misp.entity.Product;
import com.kaishu.misp.service.ProductService;

@Service("productService")
public class ProductServiceImpl extends GenericServiceImpl<Product> implements ProductService{
	@Resource
	private ProductDao productDao;
	
	@Override
	public HibernateDao<Product> getEntityDao() {
		return productDao;
	}

}
